<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>收货地址列表 </title>
    <%@ include file="/page/include.jsp" %>
    <style type="text/css">
.error {
	color: red;
	padding-left: 10px;
}
</style>
  </head>
  <body class="nav-md">
    <input id="keyId"	type="hidden">
    <input id="keyType" type="hidden" value="brand">
    <div class="container body">
      <div class="main_container">
        <div class="framebody" >
          <div class="">
	          <div class="row">
	              <div class="col-md-12 col-sm-12 col-xs-12">
	                <div class="x_panel">
	                  <div class="x_title">
	                    <div class="clearfix">
	                     <h2><i class="fa fa-reorder fa-fw"></i>系统管理 >  基础配置 >  <a id="tabName">商品单位设置</a> <small></small></h2>
	                   </div>
	                  </div>
	                  <div class="tabbable">
		                <ul class="nav nav-tabs" id="myTab">
							<li class="active">
								<a data-toggle="tab" href="javascript:void(0)" keyType="brand"  onclick="switchTab(this)">
									商品品牌设置
								</a>
							</li>
							<li>
								<a data-toggle="tab" href="javascript:void(0)" keyType="orderStatus" onclick="switchTab(this)">
									商品版本设置
								</a>
							</li> 	
							<li>
								<a data-toggle="tab" href="javascript:void(0)" keyType="salesUnit" onclick="switchTab(this)">
									商品单位设置
								</a>
							</li>
							<li>
								<a data-toggle="tab" href="javascript:void(0)" keyType="sales_channel" onclick="switchTab(this)">
									经销渠道设置
								</a>
							</li>
							<li>
								<a data-toggle="tab" href="javascript:void(0)" keyType="perenct" onclick="switchTab(this)">
									折扣账户使用设置
								</a>
							</li>
						</ul>
						<div class="tab-content">
							<div id="brandtab" class="tab-pane in active">
								<div class="row" id="operationAdd">
									<div class="pull-right">
										<a class="btn btn-success" id="btnAdd"><i class="fa fa-plus fa-fw"></i>添加</a>
										<input type="hidden" value="" id="currentKeyType" name="currentKeyType"/>
									</div>
								</div>
								<div id = "content_row" class="row">
						 			<table id="brandTable" class="table"></table>
						 		</div>
						 		<div class="row" id="percentage" style="display:none">
					              <div class="col-md-12 col-sm-12 col-xs-12">
					                <div class="x_panel">
					                  <div class="x_content">
					                    <form class="form-horizontal form-label-left" id="accountForm" method="post">
					                      <div class="item form-group">
					                      	<input id="type" name="type" value="discountRate" class="form-control col-md-3 col-xs-12"   type="hidden">
					                        <label class="control-label col-md-3 col-sm-3 col-xs-3" for="roleName">下单时折扣账户可使用比例: 
					                        </label>
					                        <div class="col-md-2 col-sm-2 col-xs-2">
					                          <input id="keyValue" name="keyValue" value="${keyMapEntity.keyValue}" class="form-control col-md-3 col-xs-12"  type="text"><label >%折扣结算金额的比例</label>
					                        </div>
					                      </div>
					                      <div class="form-group">
					                        <div class="col-md-6 col-md-offset-3">
					                             <a id="btn_save5" class="btn btn-primary"><i class="fa fa-check fa-fw"></i>保存</a>
					                        </div>
					                      </div>
					                    </form>
					                  </div>
					                </div>
					              </div>
            					</div>
							</div>
						</div>
					 </div>
					</div>
				 </div>
			</div>
         </div>
      </div>
    </div>
    </div>
    <script src="${rootPath}/js/sysconfig/sysconfig.js?v2017072416214"></script>
  </body>
</html>